<?php /* Smarty version 2.6.16, created on 2009-05-04 22:01:32
         compiled from MenuList.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'MenuList.html', 3, false),array('function', 'url', 'MenuList.html', 11, false),)), $this); ?>
<?php if ($this->_tpl_vars['bIsDeleted']): ?>
<div style="padding:6px;font-size:10pt;font-weight:bold;">
<?php echo smarty_function_language(array('text' => "Mod_Menu.page_deleted"), $this);?>

</div>
<?php endif;  if ($this->_tpl_vars['bUpdatedCount']): ?>
<div style="padding:6px;font-size:10pt;font-weight:bold;">
<?php echo smarty_function_language(array('text' => "Mod_Menu.count.updated"), $this);?>

</div>
<?php endif; ?>
<form method="post" action="<?php echo smarty_function_url(array('link' => 'admin.main.menus'), $this);?>
">
<div><input type="hidden" name="ordering" value="true" /></div>
<table style="width:100%;">
<tr>
	<th><?php echo smarty_function_language(array('text' => "Mod_Menu.order"), $this);?>
</th>
	<th><?php echo smarty_function_language(array('text' => "Mod_Menu.title"), $this);?>
</th>
	<th><?php echo smarty_function_language(array('text' => "Mod_Menu.url"), $this);?>
</th>
	<th style="text-align:center;"><?php echo smarty_function_language(array('text' => "Mod_Menu.location"), $this);?>
</th>
	<th style="text-align:center;"><?php echo smarty_function_language(array('text' => "Mod_Menu.actions"), $this);?>
</th>
</tr>
<?php $_from = $this->_tpl_vars['aMenus']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['aMenu']):
?>
<tr>
	<td class="row1" style="font-size:9pt;width:40px;text-align:center;">
	<input type="text" name="listing[<?php echo $this->_tpl_vars['aMenu']['menu_id']; ?>
]" value="<?php echo $this->_tpl_vars['aMenu']['listing']; ?>
" size="2" style="text-align:center;" />
	</td>
	<td class="row1" style="font-size:9pt;">
 	<a href="<?php echo smarty_function_url(array('link' => $this->_tpl_vars['aMenu']['url'],'bVerifyUrl' => true), $this);?>
"><?php if ($this->_tpl_vars['aMenu']['is_module']):  echo smarty_function_language(array('text' => $this->_tpl_vars['aMenu']['title_menu']), $this); else:  echo $this->_tpl_vars['aMenu']['title_menu'];  endif; ?></a>
 	</td>
 	<td class="row1" style="font-size:9pt;">
 	<a href="<?php echo smarty_function_url(array('link' => $this->_tpl_vars['aMenu']['url'],'bVerifyUrl' => true), $this);?>
"><?php echo smarty_function_url(array('link' => $this->_tpl_vars['aMenu']['url'],'bVerifyUrl' => true), $this);?>
</a>
 	</td>
 	<td class="row1" style="font-size:9pt;text-align:center;">
 		<?php if ($this->_tpl_vars['aMenu']['location'] == '0'):  echo smarty_function_language(array('text' => "Mod_Menu.main"), $this);?>

		<?php elseif ($this->_tpl_vars['aMenu']['location'] == '1'):  echo smarty_function_language(array('text' => "Mod_Menu.header"), $this);?>

		<?php elseif ($this->_tpl_vars['aMenu']['location'] == '2'):  echo smarty_function_language(array('text' => "Mod_Menu.footer"), $this);?>

		<?php endif; ?>
 	</td> 	
 	<td class="row1" style="font-size:9pt;width:140px;text-align:center;">
 	<a href="<?php if ($this->_tpl_vars['aMenu']['is_module'] || $this->_tpl_vars['aMenu']['parent']):  echo smarty_function_url(array('link' => $this->_tpl_vars['aMenu']['url']), $this); else:  echo $this->_tpl_vars['aMenu']['url'];  endif; ?>"><?php echo smarty_function_language(array('text' => "Mod_Menu.view"), $this);?>
</a> |
 	<a href="<?php echo smarty_function_url(array('link' => 'admin.main.menus','action' => 'create','id' => $this->_tpl_vars['aMenu']['menu_id']), $this);?>
"><?php echo smarty_function_language(array('text' => "Mod_Menu.edit"), $this);?>
</a> |
 	<a href="<?php echo smarty_function_url(array('link' => 'admin.main.menus','delete' => $this->_tpl_vars['aMenu']['menu_id']), $this);?>
"><?php echo smarty_function_language(array('text' => "Mod_Menu.delete"), $this);?>
</a>
 	</td>
</tr>
<?php endforeach; else: ?>
<tr>
	<td style="padding:5px;font-size:9pt;">
		<?php echo smarty_function_language(array('text' => "Mod_Site.no.pages"), $this);?>

	</td>
</tr>
<?php endif; unset($_from);  if ($this->_tpl_vars['aMenus']): ?>
<tr>
    <td class="catBottom" colspan="5">
	<input type="submit" value="<?php echo smarty_function_language(array('text' => "Mod_Menu.update.order"), $this);?>
" />
    </td>
</tr>
<?php endif; ?>
</table>
</form>